package com.util.portal;

/**
 * 分页工具
 * 
 */
public class PageConfig {
	/**
	 * 每页记录数
	 * 
	 * @param pageSize
	 */
	private Integer pageSize = 20;
	/**
	 * 页码
	 * 
	 * @param pageIndex
	 */
	private Integer pageIndex = 1;
	/**
	 * 总记录数
	 * 
	 * @param totalCount
	 */
	private Integer totalCount = null;

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageSize() {
		return this.pageSize;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Integer getPageIndex() {
		return this.pageIndex;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getTotalCount() {
		return this.totalCount;
	}
}
